Anthos 初體驗

前言

正文

  1. 每個月增加 50 美
  2. create new cluster ,無法更改現有(Anthos)
  3. 只能用workload identity
  4. cpu至少四個,total 要八個
  5. Anthos 跟 Anthos Service Mesh 不一樣
    ref. Anthos 與 Anthos Service Mesh 界面差異

如果在mac上,參照文件,執行的話會出現一些錯誤。

  1. mac不支援此指令,
  2. 也不要使用cloudShell,會因為VPCSC 而出現錯誤
  3. 最佳解法,使用linux系統
 docker  run -it --rm   -v "$HOME"/.config:/root/.config -v /Users/ezio_liu/Documents/kill:/data google/cloud-sdk:latest

因為有將 gcp驗證 掛載到image內,所以不用在驗證一次。
可以使用下面指令,看人員有沒有驗證

gcloud auth list 

最後,使用下面指令安裝

./asmcli install   \
--project_id rd7-project \
--cluster_name istio-test \
--cluster_location asia-east1-b \
--fleet_id rd7-project \
--output_dir asmcli_output \
--managed  \
--ca mesh_ca

--managed 是使用 代管式anthos